package com.zbkj.common.model.bte;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

/**
 * 微信支付特有业务字段
 *
 * @author Swallows
 * @date 2022-08-23 10:59
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@EqualsAndHashCode(callSuper = true)
public class WechatPayUniqueEntity extends PrepayContent {

    /**
     * 商品详情<br>
     * 该字段为单品营销所需上送，微信支付宝单品营销通用字段
     */
    @JsonProperty("goods_detail")
    private String goodsDetail;

    /**
     * 订单优惠标记透传给微信，代金券或立减优惠功能的参数（使用单品券时必传）
     */
    @JsonProperty("goods_tag")
    private String goodsTag;

    /**
     * 微信禁用信用卡该字段传no_credit
     */
    @JsonProperty("limit_pay")
    private String limitPay;
}
